{
	draw(stepData,ctx){
		let {step,state} = stepData
		ctx.save()
		ctx.merge(state)
		
		let fp = step[0];
		let lp = step[1];
		let n = state.n
		let steps = Math.getPolyPos(step,n).map(p=>{
			p.r=fp.r
			p.text=p.text||""
			return p
		})
		this.polygon(steps.assign().splice(1).concat(lp),ctx)
		if(ctx.ghost){
			this.drawRTip(step,ctx,true)
			this.points(step,ctx)
		}
		ctx.restore()
	}
}